//
//  NativeMediaPickerHelper.h
//  NativeMediaPicker
//
//  Created by Hai Trinh on 5/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AVFoundation/AVFoundation.h>
#import "FlashRuntimeExtensions.h"
#import "TSLibraryImport.h"

@interface NativeMediaPickerHelper : NSObject<MPMediaPickerControllerDelegate>
{
    FREContext context;
    MPMusicPlayerController *appMusicPlayer;
    NSTimer *timer;
}

- (void)setContext:(FREContext)ctx;
- (void)showMediaPicker;
- (void)playSong:(NSString *)command;
- (void)seek:(NSUInteger) playbackTime;

@end
